using System;
using System.ComponentModel;
using System.Diagnostics;


namespace SIS.ENT
{


    public class ClassRoomTable
    {

        #region "Private Variables"
        private int _classRoomKey;
        private int _schoolKey;
        private int _locationKey;
        private string _classRoomCode;
        private string _classRoomName;
        private string _roomNo;
        private string _unitNo;
        private string _levelNo;
        private short _seatNo;
        private string _remark;
        private short _status;
        private DateTime _createdDateTime = DateTime.MinValue;
        private DateTime _modifiedDateTime = DateTime.MinValue;
        private ClassRoomLocationTableList _classRoomLocationTables = new ClassRoomLocationTableList();

        #endregion

        #region "Public Properties"
        /// <summary>
        /// Gets or sets the ClassRoomKey of the ClassRoomTable.
        /// </summary>
        [DataObjectFieldAttribute(true, true, false)]
        public int ClassRoomKey
        {
            get
            {
                return _classRoomKey;
            }
            set
            {
                _classRoomKey = value;
            }
        }

        /// <summary>
        /// Gets or sets the SchoolKey of the ClassRoomTable.
        /// </summary>
        public int SchoolKey
        {
            get
            {
                return _schoolKey;
            }
            set
            {
                _schoolKey = value;
            }
        }

        /// <summary>
        /// Gets or sets the LocationKey of the ClassRoomTable.
        /// </summary>
        public int LocationKey
        {
            get
            {
                return _locationKey;
            }
            set
            {
                _locationKey = value;
            }
        }

        /// <summary>
        /// Gets or sets the ClassRoomCode of the ClassRoomTable.
        /// </summary>
        public string ClassRoomCode
        {
            get
            {
                return _classRoomCode;
            }
            set
            {
                _classRoomCode = value;
            }
        }
        /// <summary>
        /// Gets or sets the ClassRoomName of the ClassRoomTable.
        /// </summary>
        public string ClassRoomName
        {
            get
            {
                return _classRoomName;
            }
            set
            {
                _classRoomName = value;
            }
        }
        /// <summary>
        /// Gets or sets the RoomNo of the ClassRoomTable.
        /// </summary>
        public string RoomNo
        {
            get
            {
                return _roomNo;
            }
            set
            {
                _roomNo = value;
            }
        }
        /// <summary>
        /// Gets or sets the UnitNo of the ClassRoomTable.
        /// </summary>
        public string UnitNo
        {
            get
            {
                return _unitNo;
            }
            set
            {
                _unitNo = value;
            }
        }
        /// <summary>
        /// Gets or sets the LevelNo of the ClassRoomTable.
        /// </summary>
        public string LevelNo
        {
            get
            {
                return _levelNo;
            }
            set
            {
                _levelNo = value;
            }
        }
        /// <summary>
        /// Gets or sets the SeatNo of the ClassRoomTable.
        /// </summary>
        public short SeatNo
        {
            get
            {
                return _seatNo;
            }
            set
            {
                _seatNo = value;
            }
        }
        /// <summary>
        /// Gets or sets the Remark of the ClassRoomTable.
        /// </summary>
        public string Remark
        {
            get
            {
                return _remark;
            }
            set
            {
                _remark = value;
            }
        }
        /// <summary>
        /// Gets or sets the Status of the ClassRoomTable.
        /// </summary>
        public short Status
        {
            get
            {
                return _status;
            }
            set
            {
                _status = value;
            }
        }
        /// <summary>
        /// Gets or sets the CreatedDateTime of the ClassRoomTable.
        /// </summary>
        public DateTime CreatedDateTime
        {
            get
            {
                return _createdDateTime;
            }
            set
            {
                _createdDateTime = value;
            }
        }
        /// <summary>
        /// Gets or sets the ModifiedDateTime of the ClassRoomTable.
        /// </summary>
        public DateTime ModifiedDateTime
        {
            get
            {
                return _modifiedDateTime;
            }
            set
            {
                _modifiedDateTime = value;
            }
        }
        /// <summary>
        ///Gets or sets a collection of <see cref="ClassRoomLocationTable" /> instances for the ClassRoomTable.
        /// </summary>

        public ClassRoomLocationTableList classRoomLocationTables
        {
            get
            {
                return _classRoomLocationTables;
            }
            set
            {
                _classRoomLocationTables = value;
            }
        }

        #endregion

    }
}
